<?phpclass User extends CI_Model{	function __construct(){		parent::__construct();	}		function GetUserLogin($UserName, $Password){		$this->db->where(array('UserName' => $UserName, 'Password' => md5($Password)));		$query = $this->db->get('TB_ADMIN');		$result = $query->result();		if(empty($result)){			return false;		} else {			return $result[0];		}	}}?>